package com.xci.core.web;

/**
 * Tree模型
 */
public class Tree {
    /**
     * 主键
     */
    private String id;

    /**
     * 上级主键
     */
    private String parentId;

    /**
     * 排序路径
     */
    private String path;

    /**
     * 是否叶子节点
     */
    private Integer leaf;

    /**
     * 名称
     */
    private String name;

    /**
     * 简拼
     */
    private String spell;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getLeaf() {
        return leaf;
    }

    public void setLeaf(Integer leaf) {
        this.leaf = leaf;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpell() {
        return spell;
    }

    public void setSpell(String spell) {
        this.spell = spell;
    }
}